#include <iostream>

int max(int a, int b, int c)
{
  if (a < b) a = b;
  if (a < c) a = c;
  return a;
}

double max(int a, int b, double c)
{
  double x=(double)a;
  double y=(double)b;
  if (x < y) x = y;
  if (x < c) x = c;
  return x;
}

int main(){
  std::cout << (max(1,-1,0)) << std::endl;
  std::cout << (max(1,-1,1.14)) << std::endl;
  return 0;
}
